package com.wicket.okrcalc.biz.service.impl;

import cn.hutool.core.bean.BeanUtil;
import com.wicket.okrcalc.biz.service.dto.req.*;
import com.wicket.okrcalc.biz.service.dto.res.*;
import com.wicket.okrcalc.common.exception.BizException;
import com.wicket.okrcalc.common.util.CommonFunctionHelper;
import com.wicket.okrcalc.common.util.RedisUtil;
import java.util.List;
import java.util.stream.Collectors;
import javax.annotation.Resource;
import org.apache.skywalking.apm.toolkit.trace.Tag;
import org.apache.skywalking.apm.toolkit.trace.Tags;
import org.apache.skywalking.apm.toolkit.trace.Trace;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import com.wicket.okrcalc.biz.service.dto.common.StandardDataDto;
import com.wicket.okrcalc.common.exception.Assert;
import com.wicket.okrcalc.biz.service.nb.NbDashboardTargetContent;
import com.wicket.okrapp.integration.FwAppDashboardTargetContentClient;
import com.wicket.okrcalc.biz.service.DashboradStandardDataService;
import com.wicket.okrapp.integration.dto.QueryIdentitySmallCircleListComRespDto;
import com.wicket.okrapp.integration.dto.QueryIdentitySmallCircleListComReqDto;
import cn.hutool.core.collection.CollectionUtil;
import com.wicket.okrapp.integration.FwAppSmallCircleCommonClient;
import com.wicket.okrapp.integration.dto.BatchQueryEvaObjTargetCycleByContIdComRespDto;
import com.wicket.okrapp.integration.dto.BatchQueryEvaObjTargetCycleByContIdComReqDto;
import com.wicket.okrapp.integration.dto.ImplementTurnSingleFieldParentSubMidCycleTypeComRespDto;
import com.wicket.okrapp.integration.dto.ImplementTurnSingleFieldParentSubMidCycleTypeComReqDto;

/**
 * @author ：
 * @date ：
 *
 *
 * @version 1.0
 */
@Service
public class DashboardTargetContentServiceImpl
  implements com.wicket.okrcalc.biz.service.DashboardTargetContentService {

  @Resource
  private RedisUtil redisUtil;
//@Resource
 //private MCustomFields5Service mCustomFields5Service;
@Resource
  private NbDashboardTargetContent nbDashboardTargetContent;
@Resource
  private FwAppDashboardTargetContentClient fwAppDashboardTargetContentClient;
@Resource
  private DashboradStandardDataService dashboradStandardDataService;
@Resource
  private FwAppSmallCircleCommonClient fwAppSmallCircleCommonClient;
/**
   * D4查询评价模板下不同树单数据点图表列表by内容(公共)[9054]
   * gen by moon at 4/7/2024, 3:29:03 PM
   */
  @Trace(operationName = "D4查询评价模板下不同树单数据点图表列表by内容(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public QueryEvaPersonSingleChartListComRespDto queryEvaPersonSingleChartListCom(QueryEvaPersonSingleChartListComReqDto reqDto){
    
      
      BatchQueryMultiagentSingleDataPointSubjectChartComRespDto batchQueryMultiagentSingleDataPointSubjectChartComRespDto_1 =null;
//步骤0: M4执行大屏接收字段 - implementDashboardReceiveField
     //ModelCode: receptionService
        ImplementDashboardReceiveFieldRespDto receptionServiceRes = null;
    ImplementDashboardReceiveFieldReqDto receptionServiceReq=new ImplementDashboardReceiveFieldReqDto();
  if(reqDto!=null){
      receptionServiceReq.setEvaObjTargetCycleList(reqDto.getEvaObjTargetCycleList());//list-field-assign//sourceId:1685132_1
receptionServiceReq.setDataType(reqDto.getDataType());//SimpleFieldAssign//sourceId:1685019_1
receptionServiceReq.setEvaObjEntityId(reqDto.getEvaObjEntityId());//SimpleFieldAssign//sourceId:1685134_1
receptionServiceReq.setEvaObjTypeCode(reqDto.getEvaObjTypeCode());//SimpleFieldAssign//sourceId:1685135_1
receptionServiceReq.setParentSubMidCycleType(reqDto.getParentSubMidCycleType());//SimpleFieldAssign//sourceId:1712257_1
receptionServiceReq.setPeriodId(reqDto.getPeriodId());//SimpleFieldAssign//sourceId:1685017_1
receptionServiceReq.setDataUsageSceneCode(reqDto.getDataUsageSceneCode());//SimpleFieldAssign//sourceId:1685021_1
receptionServiceReq.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1685020_1
receptionServiceReq.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1685018_1
receptionServiceReq.setStandardDataOrderType(reqDto.getStandardDataOrderType());//SimpleFieldAssign//sourceId:1686206_1
    }
  
    /*M4执行大屏接收字段[8856]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq.getDataType(),"D4查询评价模板下不同树单数据点图表列表by内容(公共)-M4执行大屏接收字段-数据点类型不能为空",false);
    Assert.isNull(receptionServiceReq.getEvaObjTypeCode(),"D4查询评价模板下不同树单数据点图表列表by内容(公共)-M4执行大屏接收字段-被评对象类型编码不能为空",false);
Assert.isNull(receptionServiceReq.getParentSubMidCycleType(),"D4查询评价模板下不同树单数据点图表列表by内容(公共)-M4执行大屏接收字段-父子中周期类型不能为空",false);
Assert.isNull(receptionServiceReq.getPeriodId(),"D4查询评价模板下不同树单数据点图表列表by内容(公共)-M4执行大屏接收字段-周期ID不能为空",false);
Assert.isNull(receptionServiceReq.getDataUsageSceneCode(),"D4查询评价模板下不同树单数据点图表列表by内容(公共)-M4执行大屏接收字段-数据业务场景不能为空",false);
Assert.isNull(receptionServiceReq.getEvaluationTemplateId(),"D4查询评价模板下不同树单数据点图表列表by内容(公共)-M4执行大屏接收字段-评价模板ID不能为空",false);
Assert.isNull(receptionServiceReq.getSpaceId(),"D4查询评价模板下不同树单数据点图表列表by内容(公共)-M4执行大屏接收字段-创建于空间ID不能为空",false);
      receptionServiceRes = nbDashboardTargetContent.implementDashboardReceiveField(receptionServiceReq);
      
      
      
    
//步骤1: D3执行转单字段父子中周期类型(公共) - implementTurnSingleFieldParentSubMidCycleTypeCom
     ImplementTurnSingleFieldParentSubMidCycleTypeComRespDto implementTurnSingleFieldParentSubMidCycleTypeComRespDto = null;
    ImplementTurnSingleFieldParentSubMidCycleTypeComReqDto implementTurnSingleFieldParentSubMidCycleTypeComReqDto=new ImplementTurnSingleFieldParentSubMidCycleTypeComReqDto();
  if(reqDto!=null){
      implementTurnSingleFieldParentSubMidCycleTypeComReqDto.setCycleId(reqDto.getPeriodId());//SimpleFieldAssign//sourceId:1712256_1
implementTurnSingleFieldParentSubMidCycleTypeComReqDto.setParentSubMidCycleType(reqDto.getParentSubMidCycleType());//SimpleFieldAssign//sourceId:1712251_1
    }

    /*D3执行转单字段父子中周期类型(公共)[9319]   */
    Assert.isNull(implementTurnSingleFieldParentSubMidCycleTypeComReqDto.getCycleId(),"D4查询评价模板下不同树单数据点图表列表by内容(公共)-D3执行转单字段父子中周期类型(公共)-周期ID不能为空",false);
Assert.isNull(implementTurnSingleFieldParentSubMidCycleTypeComReqDto.getParentSubMidCycleType(),"D4查询评价模板下不同树单数据点图表列表by内容(公共)-D3执行转单字段父子中周期类型(公共)-父子中周期类型不能为空",false);
      implementTurnSingleFieldParentSubMidCycleTypeComRespDto = fwAppDashboardTargetContentClient.implementTurnSingleFieldParentSubMidCycleTypeCom(implementTurnSingleFieldParentSubMidCycleTypeComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;




//步骤2: D3批量查询被评对象目标周期By内容ID(公共) - batchQueryEvaObjTargetCycleByContIdCom
     BatchQueryEvaObjTargetCycleByContIdComRespDto batchQueryEvaObjTargetCycleByContIdComRespDto = null;
    if(implementTurnSingleFieldParentSubMidCycleTypeComRespDto !=null){
    BatchQueryEvaObjTargetCycleByContIdComReqDto batchQueryEvaObjTargetCycleByContIdComReqDto=new BatchQueryEvaObjTargetCycleByContIdComReqDto();
  if(reqDto!=null){
      batchQueryEvaObjTargetCycleByContIdComReqDto.setEvaObjTargetCycleList(reqDto.getEvaObjTargetCycleList());//list-field-assign//sourceId:1685000_1
batchQueryEvaObjTargetCycleByContIdComReqDto.setEvaObjEntityId(reqDto.getEvaObjEntityId());//SimpleFieldAssign//sourceId:1685009_1
batchQueryEvaObjTargetCycleByContIdComReqDto.setEvaObjTypeCode(reqDto.getEvaObjTypeCode());//SimpleFieldAssign//sourceId:1685001_1
batchQueryEvaObjTargetCycleByContIdComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1685006_1
batchQueryEvaObjTargetCycleByContIdComReqDto.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1685007_1
    }
if(implementTurnSingleFieldParentSubMidCycleTypeComRespDto!=null){
      batchQueryEvaObjTargetCycleByContIdComReqDto.setCycleId(implementTurnSingleFieldParentSubMidCycleTypeComRespDto.getPeriodId());//SimpleFieldAssign//sourceId:1685002_1
batchQueryEvaObjTargetCycleByContIdComReqDto.setIsParentCycle(implementTurnSingleFieldParentSubMidCycleTypeComRespDto.getIsParentCycle());//SimpleFieldAssign//sourceId:1685003_1
batchQueryEvaObjTargetCycleByContIdComReqDto.setIsMetaphase(implementTurnSingleFieldParentSubMidCycleTypeComRespDto.getIsMetaphase());//SimpleFieldAssign//sourceId:1685004_1
batchQueryEvaObjTargetCycleByContIdComReqDto.setIsSubCycle(implementTurnSingleFieldParentSubMidCycleTypeComRespDto.getIsSubCycle());//SimpleFieldAssign//sourceId:1685005_1
    }

    /*D3批量查询被评对象目标周期By内容ID(公共)[9051]   */
    Assert.isNull(batchQueryEvaObjTargetCycleByContIdComReqDto.getEvaObjTypeCode(),"D4查询评价模板下不同树单数据点图表列表by内容(公共)-D3批量查询被评对象目标周期By内容ID(公共)-被评对象类型编码不能为空",false);
Assert.isNull(batchQueryEvaObjTargetCycleByContIdComReqDto.getEvaluationTemplateId(),"D4查询评价模板下不同树单数据点图表列表by内容(公共)-D3批量查询被评对象目标周期By内容ID(公共)-冗余评价模板ID不能为空",false);
Assert.isNull(batchQueryEvaObjTargetCycleByContIdComReqDto.getSpaceId(),"D4查询评价模板下不同树单数据点图表列表by内容(公共)-D3批量查询被评对象目标周期By内容ID(公共)-创建于空间ID不能为空",false);
      batchQueryEvaObjTargetCycleByContIdComRespDto = fwAppDashboardTargetContentClient.batchQueryEvaObjTargetCycleByContIdCom(batchQueryEvaObjTargetCycleByContIdComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;
      
      
      
           }

//步骤3: D4批量查询多主体单数据点主体图表(公共) - batchQueryMultiagentSingleDataPointSubjectChartCom
     BatchQueryMultiagentSingleDataPointSubjectChartComRespDto batchQueryMultiagentSingleDataPointSubjectChartComRespDto = null;
    if(batchQueryEvaObjTargetCycleByContIdComRespDto !=null){
          BatchQueryMultiagentSingleDataPointSubjectChartComReqDto batchQueryMultiagentSingleDataPointSubjectChartComReqDto=new BatchQueryMultiagentSingleDataPointSubjectChartComReqDto();
  if(batchQueryEvaObjTargetCycleByContIdComRespDto!= null&&  batchQueryEvaObjTargetCycleByContIdComRespDto.getEvaObjTargetCycleList() !=null&& !CollectionUtil.isEmpty(batchQueryEvaObjTargetCycleByContIdComRespDto.getEvaObjTargetCycleList())){
      batchQueryMultiagentSingleDataPointSubjectChartComReqDto.setStandardDataList(batchQueryEvaObjTargetCycleByContIdComRespDto.getEvaObjTargetCycleList().stream().map(item->item.getEvaObjTargetCycleId())
        .collect(Collectors.toList()));/*list-to-strings*///sourceId:1685010_1
    }
if(reqDto!=null){
      batchQueryMultiagentSingleDataPointSubjectChartComReqDto.setDataType(reqDto.getDataType());//SimpleFieldAssign//sourceId:1685011_1
batchQueryMultiagentSingleDataPointSubjectChartComReqDto.setParentSubMidCycleType(reqDto.getParentSubMidCycleType());//SimpleFieldAssign//sourceId:1712267_1
batchQueryMultiagentSingleDataPointSubjectChartComReqDto.setPeriodId(reqDto.getPeriodId());//SimpleFieldAssign//sourceId:1685012_1
batchQueryMultiagentSingleDataPointSubjectChartComReqDto.setThemeContentId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1685016_1
batchQueryMultiagentSingleDataPointSubjectChartComReqDto.setDataUsageSceneCode(reqDto.getDataUsageSceneCode());//SimpleFieldAssign//sourceId:1685013_1
batchQueryMultiagentSingleDataPointSubjectChartComReqDto.setStandardDataOrderType(reqDto.getStandardDataOrderType());//SimpleFieldAssign//sourceId:1686178_1
batchQueryMultiagentSingleDataPointSubjectChartComReqDto.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1685014_1
    }
  
    /*D4批量查询多主体单数据点主体图表(公共)[8867]   */
    Assert.isNull(batchQueryMultiagentSingleDataPointSubjectChartComReqDto.getDataType(),"D4查询评价模板下不同树单数据点图表列表by内容(公共)-D4批量查询多主体单数据点主体图表(公共)-数据点类型不能为空",false);
Assert.isNull(batchQueryMultiagentSingleDataPointSubjectChartComReqDto.getDataUsageSceneCode(),"D4查询评价模板下不同树单数据点图表列表by内容(公共)-D4批量查询多主体单数据点主体图表(公共)-数据业务场景不能为空",false);
Assert.isNull(batchQueryMultiagentSingleDataPointSubjectChartComReqDto.getSpaceId(),"D4查询评价模板下不同树单数据点图表列表by内容(公共)-D4批量查询多主体单数据点主体图表(公共)-创建于空间ID不能为空",false);
      batchQueryMultiagentSingleDataPointSubjectChartComRespDto = dashboradStandardDataService.batchQueryMultiagentSingleDataPointSubjectChartCom(batchQueryMultiagentSingleDataPointSubjectChartComReqDto)/*vcase invoke isSameApp*/;
      
      
      batchQueryMultiagentSingleDataPointSubjectChartComRespDto_1 = batchQueryMultiagentSingleDataPointSubjectChartComRespDto;
           }
    
QueryEvaPersonSingleChartListComRespDto retData = new QueryEvaPersonSingleChartListComRespDto();
  if(batchQueryMultiagentSingleDataPointSubjectChartComRespDto_1!=null){
      retData.setStandardDataList(batchQueryMultiagentSingleDataPointSubjectChartComRespDto_1.getStandardDataList().stream().map(item -> BeanUtil.toBean(item, StandardDataDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1686216_1
    }
  

  
  
return retData;
  }
/**
   * D4查询个人指标排行列表[9047]
   * gen by moon at 4/7/2024, 3:28:57 PM
   */
  @Trace(operationName = "D4查询个人指标排行列表")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public QueryMemberObjectiveRankingListRespDto queryMemberObjectiveRankingList(QueryMemberObjectiveRankingListReqDto reqDto){
    
      
      QueryEvaPersonSingleChartListComRespDto queryEvaPersonSingleChartListComRespDto_1 =null;
//步骤0: M4执行大屏接收字段 - implementDashboardReceiveField
     //ModelCode: receptionService
        ImplementDashboardReceiveFieldRespDto receptionServiceRes = null;
    ImplementDashboardReceiveFieldReqDto receptionServiceReq=new ImplementDashboardReceiveFieldReqDto();
  if(reqDto!=null){
      receptionServiceReq.setOriginalRoleMemberId(reqDto.getOriginalRoleMemberId());//SimpleFieldAssign//sourceId:1684753_1
receptionServiceReq.setDataType(reqDto.getDataType());//SimpleFieldAssign//sourceId:1684801_1
receptionServiceReq.setDataUsageSceneCode(reqDto.getDataUsageSceneCode());//SimpleFieldAssign//sourceId:1684824_1
receptionServiceReq.setParentSubMidCycleType(reqDto.getParentSubMidCycleType());//SimpleFieldAssign//sourceId:1712281_1
receptionServiceReq.setPeriodId(reqDto.getPeriodId());//SimpleFieldAssign//sourceId:1684803_1
receptionServiceReq.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1684754_1
receptionServiceReq.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1684755_1
receptionServiceReq.setStandardDataOrderType(reqDto.getStandardDataOrderType());//SimpleFieldAssign//sourceId:1686236_1
    }
  
    /*M4接收入参字段[8856]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq.getOriginalRoleMemberId(),"D4查询个人指标排行列表-M4接收入参字段-身份人员ID不能为空",false);
Assert.isNull(receptionServiceReq.getDataType(),"D4查询个人指标排行列表-M4接收入参字段-数据点类型不能为空",false);
Assert.isNull(receptionServiceReq.getDataUsageSceneCode(),"D4查询个人指标排行列表-M4接收入参字段-数据业务场景不能为空",false);
Assert.isNull(receptionServiceReq.getParentSubMidCycleType(),"D4查询个人指标排行列表-M4接收入参字段-父子中周期类型不能为空",false);
Assert.isNull(receptionServiceReq.getPeriodId(),"D4查询个人指标排行列表-M4接收入参字段-周期ID不能为空",false);
Assert.isNull(receptionServiceReq.getEvaluationTemplateId(),"D4查询个人指标排行列表-M4接收入参字段-评价模板ID不能为空",false);
Assert.isNull(receptionServiceReq.getSpaceId(),"D4查询个人指标排行列表-M4接收入参字段-创建于空间ID不能为空",false);
      receptionServiceRes = nbDashboardTargetContent.implementDashboardReceiveField(receptionServiceReq);
      
      
      
    
//步骤1: D3查询我身份所在小圈子列表(公共) - queryIdentitySmallCircleListCom
     QueryIdentitySmallCircleListComRespDto queryIdentitySmallCircleListComRespDto = null;
    QueryIdentitySmallCircleListComReqDto queryIdentitySmallCircleListComReqDto=new QueryIdentitySmallCircleListComReqDto();
  queryIdentitySmallCircleListComReqDto.setIsPersonCharge("TRUE");//sourceId:1684570_1
queryIdentitySmallCircleListComReqDto.setTableTypeCode("OMS_TARGET_OBJECTIVE");//sourceId:1684577_1
queryIdentitySmallCircleListComReqDto.setUseScene("TARGET_PLAN_SCENE");//sourceId:1684572_1
queryIdentitySmallCircleListComReqDto.setIsDisplay("TRUE");//sourceId:1684574_1
queryIdentitySmallCircleListComReqDto.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:1684575_1
if(reqDto!=null){
      queryIdentitySmallCircleListComReqDto.setOriginalRoleMemberId(reqDto.getOriginalRoleMemberId());//SimpleFieldAssign//sourceId:1684569_1
queryIdentitySmallCircleListComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1684573_1
queryIdentitySmallCircleListComReqDto.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1684581_1
    }
  
    /*D3查询我身份所在小圈子列表(公共)[8803]   */
    Assert.isNull(queryIdentitySmallCircleListComReqDto.getOriginalRoleMemberId(),"D4查询个人指标排行列表-D3查询我身份所在小圈子列表(公共)-身份人员ID不能为空",false);
Assert.isNull(queryIdentitySmallCircleListComReqDto.getIsPersonCharge(),"D4查询个人指标排行列表-D3查询我身份所在小圈子列表(公共)-是否负责人不能为空",false);
Assert.isNull(queryIdentitySmallCircleListComReqDto.getTableTypeCode(),"D4查询个人指标排行列表-D3查询我身份所在小圈子列表(公共)-冗余内容表类型编码不能为空",false);
Assert.isNull(queryIdentitySmallCircleListComReqDto.getUseScene(),"D4查询个人指标排行列表-D3查询我身份所在小圈子列表(公共)-虚拟组织使用场景不能为空",false);
Assert.isNull(queryIdentitySmallCircleListComReqDto.getIsDisplay(),"D4查询个人指标排行列表-D3查询我身份所在小圈子列表(公共)-是否外部展示不能为空",false);
Assert.isNull(queryIdentitySmallCircleListComReqDto.getSubjectLifeCycle(),"D4查询个人指标排行列表-D3查询我身份所在小圈子列表(公共)-主体生命周期不能为空",false);
Assert.isNull(queryIdentitySmallCircleListComReqDto.getSpaceId(),"D4查询个人指标排行列表-D3查询我身份所在小圈子列表(公共)-创建于空间ID不能为空",false);
      queryIdentitySmallCircleListComRespDto = fwAppSmallCircleCommonClient.queryIdentitySmallCircleListCom(queryIdentitySmallCircleListComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;
      
      
      
    
//步骤2: D4查询评价模板下不同树单数据点图表列表by内容(公共) - queryEvaPersonSingleChartListCom
     QueryEvaPersonSingleChartListComRespDto queryEvaPersonSingleChartListComRespDto = null;
    if(queryIdentitySmallCircleListComRespDto !=null){
          QueryEvaPersonSingleChartListComReqDto queryEvaPersonSingleChartListComReqDto=new QueryEvaPersonSingleChartListComReqDto();
  queryEvaPersonSingleChartListComReqDto.setEvaObjTypeCode("OKR_SUBJECT_PERSONAL");//sourceId:1685158_1
if(queryIdentitySmallCircleListComRespDto!= null&&  queryIdentitySmallCircleListComRespDto.getVirtualOrgMemberList() !=null&& !CollectionUtil.isEmpty(queryIdentitySmallCircleListComRespDto.getVirtualOrgMemberList())){
      queryEvaPersonSingleChartListComReqDto.setEvaObjTargetCycleList(queryIdentitySmallCircleListComRespDto.getVirtualOrgMemberList().stream().map(item->item.getEntityId())
        .collect(Collectors.toList()));/*list-to-strings*///sourceId:1685156_1
    }
if(reqDto!=null){
      queryEvaPersonSingleChartListComReqDto.setParentSubMidCycleType(reqDto.getParentSubMidCycleType());//SimpleFieldAssign//sourceId:1712264_1
      queryEvaPersonSingleChartListComReqDto.setEvaObjEntityId(reqDto.getOriginalRoleMemberId());//SimpleFieldAssign//sourceId:1685157_1
queryEvaPersonSingleChartListComReqDto.setDataType(reqDto.getDataType());//SimpleFieldAssign//sourceId:1685163_1
queryEvaPersonSingleChartListComReqDto.setDataUsageSceneCode(reqDto.getDataUsageSceneCode());//SimpleFieldAssign//sourceId:1685164_1
queryEvaPersonSingleChartListComReqDto.setPeriodId(reqDto.getPeriodId());//SimpleFieldAssign//sourceId:1685159_1
queryEvaPersonSingleChartListComReqDto.setStandardDataOrderType(reqDto.getStandardDataOrderType());//SimpleFieldAssign//sourceId:1686234_1
queryEvaPersonSingleChartListComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1685166_1
queryEvaPersonSingleChartListComReqDto.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1685165_1
    }
  
    /*D4查询评价模板下不同树单数据点图表列表by内容(公共)[9054]   */
    Assert.isNull(queryEvaPersonSingleChartListComReqDto.getParentSubMidCycleType(),"D4查询个人指标排行列表-D4查询评价模板下不同树单数据点图表列表by内容(公共)-父子中周期类型不能为空",false);
    Assert.isNull(queryEvaPersonSingleChartListComReqDto.getEvaObjTypeCode(),"D4查询个人指标排行列表-D4查询评价模板下不同树单数据点图表列表by内容(公共)-被评对象类型编码不能为空",false);
Assert.isNull(queryEvaPersonSingleChartListComReqDto.getDataType(),"D4查询个人指标排行列表-D4查询评价模板下不同树单数据点图表列表by内容(公共)-数据点类型不能为空",false);
Assert.isNull(queryEvaPersonSingleChartListComReqDto.getDataUsageSceneCode(),"D4查询个人指标排行列表-D4查询评价模板下不同树单数据点图表列表by内容(公共)-数据业务场景不能为空",false);
Assert.isNull(queryEvaPersonSingleChartListComReqDto.getPeriodId(),"D4查询个人指标排行列表-D4查询评价模板下不同树单数据点图表列表by内容(公共)-周期ID不能为空",false);
Assert.isNull(queryEvaPersonSingleChartListComReqDto.getEvaluationTemplateId(),"D4查询个人指标排行列表-D4查询评价模板下不同树单数据点图表列表by内容(公共)-评价模板ID不能为空",false);
Assert.isNull(queryEvaPersonSingleChartListComReqDto.getSpaceId(),"D4查询个人指标排行列表-D4查询评价模板下不同树单数据点图表列表by内容(公共)-创建于空间ID不能为空",false);
      queryEvaPersonSingleChartListComRespDto = queryEvaPersonSingleChartListCom(queryEvaPersonSingleChartListComReqDto)/*vcase invoke 同服务,同domain*/;
      
      
      queryEvaPersonSingleChartListComRespDto_1 = queryEvaPersonSingleChartListComRespDto;
           }
    
QueryMemberObjectiveRankingListRespDto retData = new QueryMemberObjectiveRankingListRespDto();
  if(queryEvaPersonSingleChartListComRespDto_1!=null){
      retData.setStandardDataList(queryEvaPersonSingleChartListComRespDto_1.getStandardDataList().stream().map(item -> BeanUtil.toBean(item, StandardDataDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1686252_1
    }
  

  
  
return retData;
  }
  //
}
